package com.axend.aerosense.common.bean;/*
@author MM.Li
@date 2021/3/16-9:51
*/

public enum LogType {
    DEVICE_OFFLINE( 0), //设备离线
    FALL_DOWN(1),  //摔倒
    GO_OUT_NOT_BACK(3),  //外出未归
    INTRUDE(2),    //离家模式入侵报警
    SLEEP_TIMEOUT(4),  //卧床不起
    ContinuousSedentary(5),    //连续久坐
    SittingLongTime(6),    //累积久坐
    ToiletDetention(7),    //卫生间滞留
    StandingStill(8),    //原地静止
    HaveDinner(9),    //用餐
    GetUpFrequently(10),    //频繁起夜(起夜异常)
    NightNotBack(11),    //起夜未归
    AbnormalWorkAndRest(12),    //作息异常
    SleepQuality(13),    //睡眠质量分析
    ToiletUse(14),    //卫生间使用分析(频繁如厕)
    FallTrend(15),   //跌倒趋势分析

    NoVitalSignals(30),  //心跳/呼吸骤停告警
    BedExitWarning(31),  //离床告警
    AbnormalSleep(32),  //作息异常
    ;

    private int type;

    LogType(int type) {
        this.type = type;
    }

    public int getType() {
        return type;
    }

}
